/* eslint-disable prettier/prettier */
/*
 * @Date: 2024-01-03 22:35:32
 * @LastEditors: cjx
 * @LastEditTime: 2024-01-03 23:53:08
 * @Description: 控制安装依赖时的，包管理工具(npm install 可能是因为版本问题，并没有效果)
 */

if (!/pnpm/.test(process.env.npm_execpath || "")) {
  console.warn(
    `\u001b[33mThis repository must using pnpm as the package manager ` +
      ` for scripts to work properly.\u001b[39m\n`
  );
  process.exit(1);
}
